package com.ruoyi.kaifa.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 a_quest
 *
 * @author ruoyi
 * @date 2024-10-01
 */
public class AQuest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 发起人id */
    @Excel(name = "发起人id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long initiatorId;

    /** 接收人id */
    @Excel(name = "接收人id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long receiverId;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Long publishStatus;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 分类id */
    @Excel(name = "分类id")
    private String sortId;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailsAddress;

    /** 经纬度 */
    @Excel(name = "经纬度")
    private String coordinate;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    /** 截止时间 */
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cutoffTime;

    /** 报酬 */
    @Excel(name = "报酬")
    private BigDecimal price;

    /** 软删除 */
    private Long isDelete;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInitiatorId(Long initiatorId)
    {
        this.initiatorId = initiatorId;
    }

    public Long getInitiatorId()
    {
        return initiatorId;
    }
    public void setReceiverId(Long receiverId)
    {
        this.receiverId = receiverId;
    }

    public Long getReceiverId()
    {
        return receiverId;
    }
    public void setPublishStatus(Long publishStatus)
    {
        this.publishStatus = publishStatus;
    }

    public Long getPublishStatus()
    {
        return publishStatus;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public String getSortId() {
        return sortId;
    }

    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }
    public void setOrderStatus(String orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus()
    {
        return orderStatus;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setDetailsAddress(String detailsAddress)
    {
        this.detailsAddress = detailsAddress;
    }

    public String getDetailsAddress()
    {
        return detailsAddress;
    }
    public void setCoordinate(String coordinate)
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate()
    {
        return coordinate;
    }
    public void setPublishTime(Date publishTime)
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime()
    {
        return publishTime;
    }
    public void setCutoffTime(Date cutoffTime)
    {
        this.cutoffTime = cutoffTime;
    }

    public Date getCutoffTime()
    {
        return cutoffTime;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setIsDelete(Long isDelete)
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("initiatorId", getInitiatorId())
            .append("receiverId", getReceiverId())
            .append("publishStatus", getPublishStatus())
            .append("title", getTitle())
            .append("content", getContent())
            .append("sortId", getSortId())
            .append("cover", getCover())
            .append("orderStatus", getOrderStatus())
            .append("address", getAddress())
            .append("detailsAddress", getDetailsAddress())
            .append("coordinate", getCoordinate())
            .append("publishTime", getPublishTime())
            .append("cutoffTime", getCutoffTime())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
